package com.freewater.springboot.demo.contexthierarchy.demo3;

import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

@Configuration
public class WebConfig2 {

    @Bean
    public WebComponent2 webComponent2() {
        return new WebComponent2();
    }
}
